projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a3338
)
Replaced localtime() with gmtime() in trackpoint writer (PCX time is UTC time)
author
oliskoli
<oliskoli>
Wed, 2 Nov 2005 21:38:50 +0000
(21:38 +0000)
committer
oliskoli
<oliskoli>
Wed, 2 Nov 2005 21:38:50 +0000
(21:38 +0000)
pcx.c
patch
|
blob
|
history
diff --git
a/pcx.c
b/pcx.c
index 1c87a26a8acd1439d5ebe6001913a28471f9bdf1..f69aa6504b2b461aa37bd226ff3bc1b0830c4258 100644
(file)
--- a/
pcx.c
+++ b/
pcx.c
@@
-289,7
+289,7
@@
pcx_track_disp(const waypoint *wpt)
lon = degrees2ddmm(wpt->longitude);
lat = degrees2ddmm(wpt->latitude);
- tm =
local
time(&wpt->creation_time);
+ tm =
gm
time(&wpt->creation_time);
strftime(tbuf, sizeof(tbuf), "%d-%b-%y %T", tm);
for (tp = tbuf; *tp; tp++) {